import React from 'react'
import { NavLink } from 'umi'
import styles from './index.less'

const Header = () => {
    return (
        <div className={styles.header}>
            <div className={styles.logo}>
                <img src="https://wipi.oss-cn-shanghai.aliyuncs.com/2021-02-20/wipi-favicon.png" style={{width: '32px'}} />
                <span style={{marginLeft: '4px'}}>管理后台</span>
            </div>
                <ul>
                    <li><NavLink to='/' />工作台</li>
                    <li><NavLink to='/' />文章管理</li>
                    <li><NavLink to='/'  />页面管理</li>
                    <li><NavLink to='/' />知识笔记</li>
                    <li><NavLink to='/' /><span>？</span>Hi,jason</li>
                </ul>
            </div>
    )
}
export default Header;